package com.zdlog.wenjuan.service;

import com.zdlog.wenjuan.VO.ResultBoolenVO;
import com.zdlog.wenjuan.dataobject.ProblemDetail;
import com.zdlog.wenjuan.dataobject.ProblemOption;

import java.util.List;

/**
 * @program: wenjuanSer
 * @PACKAGE_NAME: com.zdlog.wenjuan.service
 * @author: Kuaile
 * @create: 2018-02-06 21:22
 **/
public interface ProblemService {

    Boolean addProblem(ProblemDetail problemDetail, List<ProblemOption> option);

    ProblemDetail findByProblemId(String problemId);

    ResultBoolenVO delete(String problemId);

    Boolean updataProblem(ProblemDetail problemDetail, List<ProblemOption> option);

}
